package com.iu.eblood.serviceImpl;

import java.util.ArrayList;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iu.eblood.daoImpl.EventUserResponseDaoImpl;
import com.iu.eblood.model.Event;
import com.iu.eblood.model.User;
import com.iu.eblood.model.Eventuserresponse;
import com.iu.eblood.serviceInterfaces.EventUserResponseService;


@Service("EventUserResponseImpl")
public class EventUserResponseImpl implements EventUserResponseService {

	@Autowired
	EventUserResponseDaoImpl eventUserResponseDaoImpl;
	
	public List<Event> participatedEvent(User user) {
		
		
		return eventUserResponseDaoImpl.participatedEvent(user);
		
	}
}
